//
//  mineTableViewCell.m
//  HeartTravel
//
//  Created by dlios on 15-7-1.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "mineTableViewCell.h"
#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height

@implementation mineTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, 80, 40)];
        [self addSubview:self.titleLabel];
        [self.titleLabel release];
        
        self.detailLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 40, self.contentView.frame.size.width - 20, 40)];
        self.detailLabel.font = [UIFont systemFontOfSize:14];
        self.detailLabel.numberOfLines = 0;
        [self addSubview:self.detailLabel];
        [self.detailLabel release];
        
        self.myImageView = [[UIImageView alloc] initWithFrame:CGRectMake(WIDTH - 30, 30, 20, 20)];
        [self.myImageView setImage:[UIImage imageNamed:@"iconfont-gengduo"]];
        [self addSubview:self.myImageView];
        [self.myImageView release];
        
    }
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
